<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<meta content="text/html; charset=UTF-8" http-equiv="content-type">

<div class="right">
        <div class="location">
            <strong>当前位置:</strong>
            <span>志愿者申请处理页面 >> 志愿者申请详情页面</span>
        </div>
        <div class="supplierAdd">
          <form id="storageRecordForm" name="storageRecordForm" method="post" action="${pageContext.request.contextPath }/sys/volunteer/modify">
				<input type="hidden" name="id" value="${volunteerApply.id }">
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div class="">
                    <label for="name">用户名称：</label>
                    <input type="text" name="name" id="name" value="${volunteerApply.name }" disabled>
                </div>
                <div>
                    <label for="email">Email：</label>
                    <input type="text" name="email" id="email" value="${volunteerApply.email }" disabled>
					<font color="red"></font>
                </div>
                <div>
                    <label for="age">年龄：</label>
                    <input type="text" name="age" id="age" value="${volunteerApply.age }" disabled>
					<font color="red"></font>
                </div>
                <div>
                    <label for="phone">电话：</label>
                    <input type="text" name="phone" id="phone" value="${volunteerApply.phone }" disabled>
					<font color="red"></font>
                </div>
                <div>
                    <label for="justify">申请理由：</label>
                    <input type="text" name="justify" id="justify" value="${volunteerApply.justify }" disabled>
					<font color="red"></font>
                </div>
                <div>
                    <label for="date">申请时间：</label>
                    <input type="text" name="date" id="date" value="${volunteerApply.date }" disabled>
                    <font color="red"></font>
                </div>
                <div>
                    <label >申请状态：</label>
                    <c:if test="${volunteerApply.status == 1 }">
						<input type="radio" name="status" value="1" checked="checked">已处理
						<input type="radio" name="status" value="2" >未处理
					</c:if>
					<c:if test="${volunteerApply.status == 2 }">
						<input type="radio" name="status" value="1">已处理
						<input type="radio" name="status" value="2" checked="checked">未处理
					</c:if>
                </div>
                <div class="supplierAddBtn">
                  <input type="button" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" >
              	</div>
            </form>
        </div>

    </div>
</section>

<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/volunteer/update.js"></script>